
package todolist.logic.reminder;

import todolist.entity.TaskEntity;

/**
 * Fired after processing to TaskEntities which may affect the display/scheduling of Reminders are done.
 * @author YouLi
 * @author Ivan
 */
public interface ReminderTaskChangedListener {

	/**
	 * Handles Task that has changed, setting it as the next Reminder Task if necessary.
	 * Incoming Task is cloned. Modifying its attributes will not affect the original Task.
	 */
	public void reminderTaskMayHaveChanged(TaskEntity pentIncomingTask);

	/**
	 * Handles Task that has changed, always setting it as the next Reminder Task.
	 * Incoming Task is cloned. Modifying its attributes will not affect the original Task.
	 */
	public void reminderTaskForceChanged(TaskEntity pentIncomingTask);

}
